<%-- 
    Document   : notasIns
    Created on : 14-oct-2013, 6:01:22
    Author     : Haybert
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Temas Avanzados de Ingeniería de Sistemas II<</title>
        <link rel="stylesheet" href="../css/main.css">
        <link rel="stylesheet" href="../css/form.css">
        <link rel="stylesheet" href="../css/a.css">
        
        <script src ="../js/jquery-1.7.1.min.js" type ="text/javascript"></script>
        <script src ="../js/notas.js " type = text/javascript ></script>

    </head>
    <body>
        <form class="clasico" action="../ServletNotas" method="POST" 
              onsubmit="return valida();" style="width:330px">
            <input type="hidden" name="accion" value="INS" />
            <fieldset>
                <legend>Nuevo Alumno</legend>
                <div>
                    <label style ="width: 70px">Alumno</label>
                    <input type="text" name="txtAlumno" id ="alumno"
                           maxlength="50" style="width:220px" />
                </div> 
                <div>
                    <label style ="width: 70px">Notas</label>
                    <select name="lstNota1" style="margin-right: 20px">
                        <c:forEach var="x" begin="0" end="20">
                            <c:choose>
                                <c:when test = "${x==14}">
                                    <option value="${x}" selected>${x}</option>
                                </c:when>
                                <c:otherwise>
                                    <option value="${x}">${x}</option>
                                </c:otherwise>
                            </c:choose>
                        </c:forEach>
                    </select>
                    <select name="lstNota2" style="margin-right: 20px">
                        <c:forEach var="x" begin="0" end="20">
                            <c:choose>
                                <c:when test = "${x==14}">
                                    <option value="${x}"selected>${x}</option>
                                </c:when>
                                <c:otherwise>
                                    <option value="${x}">${x}</option>
                                </c:otherwise>
                            </c:choose>
                        </c:forEach>
                    </select>
                    <select name="lstNota3" style="margin-right: 20px">
                        <c:forEach var="x" begin="0" end="20">
                            <c:choose>
                                <c:when test = "${x==14}">
                                    <option value="${x}" selected>${x}</option>
                                </c:when>
                                <c:otherwise>
                                    <option value="${x}">${x}</option>
                                </c:otherwise>
                            </c:choose>
                        </c:forEach>
                    </select>
                </div>
                 <div>
                    <label style ="width: 70px">Comentario</label>
                    <textarea name="txtComentario" rows ="6" cols="40" 
                              style="width:220px"></textarea>
                </div>
                <div class="center">
                    <input type="submit" value="Enviar Datos" class ="submit"/>
                </div>
            </fieldset>
        </form>
        <p style ="text-align: center">
            <a class ="clasico" href="notasQry.jsp">Cancelar</a>
         </p>
    </body>
</html>
